class AreaItemModel {
  String? code;
  int? level;
  String? name;

  AreaItemModel({this.code, this.level, this.name});

  factory AreaItemModel.fromJson(Map<String, dynamic> json) => AreaItemModel(
        code: json['code'] as String?,
        level: json['level'] as int?,
        name: json['name'] as String?,
      );

  Map<String, dynamic> toJson() => {
        'code': code,
        'level': level,
        'name': name,
      };
}
